<html>
<body>
<div>
<table>
	<tr>
		<th>Departamento</th>
		<th>Camara</th>
		<th>Expediente</th>
	</tr>
<?php 
	foreach ($resultado as $row) {
?>
<tr>
	<td><?php echo $row->departamento ?></td>
	<td><?php echo $row->nombre_cam ?></td>
	<td><?php echo $row->id_expediente ?></td>
</tr>
<?php } ?>
</table>
</div>
</body>
</html>